package com.gzx.plugin.tjzy.modular.phone.filter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import vip.xiaonuo.common.handler.CommonSm1AesTypeHandler;
import vip.xiaonuo.common.pojo.TenantEntity;

/**
 * @author zjt
 * @description
 * @date 2025/3/4 11:54
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(autoResultMap = true)
public class GzxPhoneFilter extends TenantEntity {

    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 手机号码
     */
    @TableField(typeHandler = CommonSm1AesTypeHandler.class)
    private String phoneNumber;

    /**
     * 身份证号码
     */
    @TableField(typeHandler = CommonSm1AesTypeHandler.class)
    private String idCard;

    /**
     * 用户姓名
     */
    private String name;

    /**
     * 备注
     */
    private String remark;

    /**
     * 项目编号
     */
    private String projectCode;
}
